<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.3.1"/>
<title>net: vs::net Namespace Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td style="padding-left: 0.5em;">
   <div id="projectname">net
   &#160;<span id="projectnumber">1.0</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.3.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="namespaces.html"><span>Namespace&#160;List</span></a></li>
      <li><a href="namespacemembers.html"><span>Namespace&#160;Members</span></a></li>
    </ul>
  </div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>vs</b></li><li class="navelem"><a class="el" href="namespacevs_1_1net.html">net</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">Classes</a> &#124;
<a href="#typedef-members">Typedefs</a> &#124;
<a href="#func-members">Functions</a> &#124;
<a href="#var-members">Variables</a>  </div>
  <div class="headertitle">
<div class="title">vs::net Namespace Reference</div>  </div>
</div><!--header-->
<div class="contents">

<p>Namespace for Network communication classes.  
<a href="#details">More...</a></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Classes</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_internet_address.html">InternetAddress</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for internet address. This class encapsulates the internet address, and provide easy to use interfaces.  <a href="classvs_1_1net_1_1_internet_address.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_net_initializer.html">NetInitializer</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for net lib initializing and cleanup.  <a href="classvs_1_1net_1_1_net_initializer.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_socket_handle.html">SocketHandle</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Base class for TCP/UDP stream. This class encapsulates the underlying socket.  <a href="classvs_1_1net_1_1_socket_handle.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_tcp_acceptor.html">TcpAcceptor</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for acceptor socket. This class is a factory, and accept new socket streams.  <a href="classvs_1_1net_1_1_tcp_acceptor.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_tcp_connector.html">TcpConnector</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for connect socket. This class is a factory, and connect peer host, and establish new socket streams.  <a href="classvs_1_1net_1_1_tcp_connector.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_tcp_stream.html">TcpStream</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for socket stream. This class can receive/send data via the underlying socket stream, can work with <a class="el" href="classvs_1_1net_1_1_tcp_acceptor.html" title="Wrapper class for acceptor socket. This class is a factory, and accept new socket streams...">TcpAcceptor</a> and <a class="el" href="classvs_1_1net_1_1_tcp_connector.html" title="Wrapper class for connect socket. This class is a factory, and connect peer host, and establish new s...">TcpConnector</a>.  <a href="classvs_1_1net_1_1_tcp_stream.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">class &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classvs_1_1net_1_1_udp_stream.html">UdpStream</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper class for UDP socket stream. This class can receive/send data via the underlying socket stream.  <a href="classvs_1_1net_1_1_udp_stream.html#details">More...</a><br/></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="typedef-members"></a>
Typedefs</h2></td></tr>
<tr class="memitem:a02afc27cc9fca9fa328d9e4a9f227432"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a02afc27cc9fca9fa328d9e4a9f227432"></a>
typedef int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevs_1_1net.html#a02afc27cc9fca9fa328d9e4a9f227432">SOCKETLEN_T</a></td></tr>
<tr class="memdesc:a02afc27cc9fca9fa328d9e4a9f227432"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define the socket length data type, it varies from platforms. When compiling, the macros need to be specified. <br/></td></tr>
<tr class="separator:a02afc27cc9fca9fa328d9e4a9f227432"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a8cd20dff70902b20f734a7f958cf99b6"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8cd20dff70902b20f734a7f958cf99b6"></a>
typedef SOCKET&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevs_1_1net.html#a8cd20dff70902b20f734a7f958cf99b6">SOCKET_HANDLE</a></td></tr>
<tr class="memdesc:a8cd20dff70902b20f734a7f958cf99b6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define the socket handle in different platforms. <br/></td></tr>
<tr class="separator:a8cd20dff70902b20f734a7f958cf99b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a6487cce6ff27d97b6f70ff15ac06f0ad"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6487cce6ff27d97b6f70ff15ac06f0ad"></a>
<a class="el" href="_net_common_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevs_1_1net.html#a6487cce6ff27d97b6f70ff15ac06f0ad">GetNetError</a> ()</td></tr>
<tr class="memdesc:a6487cce6ff27d97b6f70ff15ac06f0ad"><td class="mdescLeft">&#160;</td><td class="mdescRight">Wrapper for the error information. <br/></td></tr>
<tr class="separator:a6487cce6ff27d97b6f70ff15ac06f0ad"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afdcfc9ee66e86db5e5650e397f2b9b43"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="afdcfc9ee66e86db5e5650e397f2b9b43"></a>
<a class="el" href="_net_common_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevs_1_1net.html#afdcfc9ee66e86db5e5650e397f2b9b43">StartupNetwork</a> (int version)</td></tr>
<tr class="memdesc:afdcfc9ee66e86db5e5650e397f2b9b43"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call this function for initializing before using net lib. <br/></td></tr>
<tr class="separator:afdcfc9ee66e86db5e5650e397f2b9b43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa78b03ca2460dae1acf4a78f4728973e"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa78b03ca2460dae1acf4a78f4728973e"></a>
<a class="el" href="_net_common_8h.html#a2eb6f9e0395b47b8d5e3eeae4fe0c116">INLINE</a> int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevs_1_1net.html#aa78b03ca2460dae1acf4a78f4728973e">CleanupNetwork</a> ()</td></tr>
<tr class="memdesc:aa78b03ca2460dae1acf4a78f4728973e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Call this function to cleanup net lib. <br/></td></tr>
<tr class="separator:aa78b03ca2460dae1acf4a78f4728973e"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="var-members"></a>
Variables</h2></td></tr>
<tr class="memitem:a022e70e88d4dc482408183296dc49ab5"><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a022e70e88d4dc482408183296dc49ab5"></a>
const <a class="el" href="namespacevs_1_1net.html#a8cd20dff70902b20f734a7f958cf99b6">SOCKET_HANDLE</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="namespacevs_1_1net.html#a022e70e88d4dc482408183296dc49ab5">INVALID_SOCKET_HANDLE</a> = INVALID_SOCKET</td></tr>
<tr class="memdesc:a022e70e88d4dc482408183296dc49ab5"><td class="mdescLeft">&#160;</td><td class="mdescRight">Define the invalid socket handle value. <br/></td></tr>
<tr class="separator:a022e70e88d4dc482408183296dc49ab5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Namespace for Network communication classes. </p>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated on Fri Apr 19 2013 23:25:57 for net by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.3.1
</small></address>
</body>
</html>
